Mollie\WooCommerce\Payment\MollieOrder B

Total Complexity 89
Dependencies 17
Dependents 2
Total lines 616
Lines of code 390
Logical lines of code 253
Comment lines 185
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
refund()
A
41 12 50
processOrderItemsRefund()
A
43 11 42
refund_amount()
A
47 8 31
refund_order_items()
A
49 8 28
onWebhookCanceled()
S
49 7 29
onWebhookPaid()
S
49 5 29
onWebhookCompleted()
S
49 5 29
onWebhookExpired()
S
51 4 25
maybeUpdateStatus()
S
59 4 13
onWebhookAuthorized()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
58 3 14
getPaymentObject()
S
60 3 11
getMollieCustomerIdFromPaymentObject()
S
66 3 9
getSequenceTypeFromPaymentObject()
S
66 3 9
onWebhookFailed()
S
58 2 14
getMolliePaymentIdFromPaymentObject()
S
70 2 6
updatePaymentDataWithOrderData()
S
67 2 8
__construct()
S
64 1 10
getPaymentRequestData()
S
79 1 3
setActiveMolliePayment()
S
67 1 8
setOrder()
S
81 1 3